Merge two sorted arrays (leetcode 88): i cant understand how it wont go out of bounds

join shbcf.ru